package com.wangxiaobao.charge.mylibrary.engine.adapter;

public class BooleanAdapter implements DataAdapter<Boolean> {
    @Override
    public Boolean parse(byte[] data) {
        return "ok!".equalsIgnoreCase(new String(data));
    }
}
